Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NDocumentFormatRegistry<TDocumentFormat> Class / GetFromStream Method


In This Topic
    GetFromStream Method
    In This Topic
    Gets the document format from the specified stream.
    Syntax
    'Declaration
     
    
    Public Function GetFromStream( _
       ByVal stream As System.IO.Stream, _
       ByVal fileExtension As System.String _
    ) As TDocumentFormat
    'Usage
     
    
    Dim instance As NDocumentFormatRegistry(Of TDocumentFormat)
    Dim stream As System.IO.Stream
    Dim fileExtension As System.String
    Dim value As TDocumentFormat
     
    value = instance.GetFromStream(stream, fileExtension)
    public TDocumentFormat GetFromStream( 
       System.IO.Stream stream,
       System.string fileExtension
    )

    Parameters

    stream
    fileExtension
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also